<template>
  <el-table :data="announcements" style="width: 100%;height: 458px; padding-top: 15px;">
    <el-table-column prop="title" label="公告标题" min-width="200">
      <template slot-scope="scope" >
        <a :href="scope.row.link">{{ scope.row.title }}</a>
      </template>
    </el-table-column>
    <el-table-column prop="date" label="日期"></el-table-column>
   </el-table>
</template>
<script>
  export default {
    data() {
      return {
        announcements: [
          { title: '2025级新同学，明天见！', date: '2025-09-01',link:'' },
          { title: '@2025级萌新，快来查收你的新辅导员!', date: '2025-08-25' ,link:'' },
          { title: '新生入学教育，提前开启大学生涯', date: '2025-09-10',link:''  },
          { title: '2025级本科新同学，你有一份新生报到指南，速戳！', date: '2025-08-26', link: ''},
          { title: '新生代言人|2025年新生开学典礼发言人海选启动，快来报名！', date: '2025-08-16', link: ''},
          { title: '关于2025级新生入学"绿色通道"的通知', date: '2025-08-12', link: ''},
          { title: '2025级本科新生入学须知', date: '2025-08-17', link: ''},
          { title: '2025级本科新生资助指南', date: '2025-08-20', link: ''}
       ]
      };
    }
  };
</script>
  